package com.woniuxy.pojo;

import java.util.List;

public class User {
    String username;
    String password;
    List hobby;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List getHobby() {
        return hobby;
    }

    public void setHobby(List hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", hobby=" + hobby +
                '}';
    }

    public User(String username, String password, List hobby) {
        this.username = username;
        this.password = password;
        this.hobby = hobby;
    }

    public User() {
    }
}



